<template>
  <div class="topEdit" @click="back">
    <span class="iconfont iconjiantou2"></span>
    <span class="edit">{{ Text }}</span>
  </div>
</template>

<script>
export default {
  props: ['Text'],
  methods: {
    back() {
      this.$emit('click')
    }
  }
}
</script>

<style lang="less" scoped>
.topEdit {
  height: 40/360 * 100vw;
  line-height: 40/360 * 100vw;

  .edit {
    margin-left: 120/360 * 100vw;
    font-weight: 700;
  }
}
</style>
